<%- if (@work && @work.chaptered?) || (@chapters.size > 1) -%>
  <%- for chapter in @chapters -%>
    <%- if chapter.posted? || is_author_of?(chapter) -%>
      <%= render :partial => 'chapters/chapter', :locals => {:chapter => chapter, :hide_work_info => true} %>
		<%- end -%>	
  <%- end -%>
<%- else -%>
  <%= sanitize_and_format_for_display(@chapters.first.content) %>
<%- end -%>
